package com.mallcloud.mall.product.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.mallcloud.mall.product.api.entity.UserAddrModel;
import com.mallcloud.mall.product.mapper.UserAddrMapper;
import com.mallcloud.mall.product.service.UserAddrService;
import org.springframework.stereotype.Service;

/**
 * 用户地址
 */
@Service
public class UserAddrServiceImpl extends ServiceImpl<UserAddrMapper, UserAddrModel> implements UserAddrService {

    @Override
    public Boolean saveUserAddr(UserAddrModel dto) {

        return this.save(dto);
    }

    @Override
    public Boolean updateUserAddr(UserAddrModel dto) {

        return this.updateById(dto);
    }
}
